/**
 * Created by evenvi on 17-12-26.
 */

var page = require('webpage').create();

page.open('http://www.cnblogs.com/qiyeboy/', function(status){
    console.log("Status: " + status);
    if (status === 'success'){
        page.render('qiye.png')
    }

    phantom.exit()
});